package com.ruoyi.erp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成本中心对象 business_unit_department
 * 
 * @author sauger
 * @date 2022-04-03
 */

@Data
public class BusinessUnitDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 事业部 */
    @Excel(name = "事业部")
    private Integer businessUnitId;

    private String businessUnitName;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Integer priority;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 开启现金流 */
    @Excel(name = "开启现金流")
    private Integer hasFlow;

    /** 部门类型      0：其他      1：事业部    2：资源中心 */
    private Integer type;

    /** 启动资金 */
    @Excel(name = "启动资金")
    private BigDecimal account;

    /** 启动日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启动日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 额外资金 */
    private BigDecimal extraFund;

    /** 额外资金性质 */
    private String extraNature;

    /** 额外资金说明 */
    private String extraInfo;

    /** 钉钉部门编号 */
    private String dingdingCode;

    private String disabled;

}
